package com.kjsdfgk.hjmdsf.video.mvp.ui.activity;

import android.view.View;

import androidx.annotation.NonNull;

import com.jess.arms.base.BaseHolder;
import com.jess.arms.base.DefaultAdapter;
import com.kjsdfgk.hjmdsf.video.mvp.bean.ZhuboBean;
import com.lksdkjs.live.R;

import java.util.List;

public class VideoAdapter extends DefaultAdapter<ZhuboBean> {

    public VideoAdapter(List<ZhuboBean> liveVideos) {
        super(liveVideos);
    }

    @NonNull
    @Override
    public BaseHolder<ZhuboBean> getHolder(@NonNull View v, int viewType) {
        return new VideoItemHolder(v);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.recycle_video_item;
    }
}